package com.im.service.group.model.req;

import com.im.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel(description = "更新群组成员请求")
public class UpdateGroupMemberReq extends RequestBase {

    @ApiModelProperty(value = "群组id", required = true)
    @NotBlank(message = "群组id不能为空")
    private String groupId;

    @ApiModelProperty(value = "成员id", required = true)
    @NotBlank(message = "成员id不能为空")
    private String memberId;

    @ApiModelProperty(value = "成员别名")
    private String alias;

    @ApiModelProperty(value = "成员角色")
    private Integer role;

    @ApiModelProperty(value = "额外信息")
    private String extra;

}

